package com.formula.distribution.lock.lock;

/**
 * @author:bo
 * @email:
 * @date 2018/12/25
 * @introduce
 **/
public interface LockInterface {

    /**
     * 获取锁
     *
     * @return
     */
    boolean acquire();

    /**
     * 释放锁
     */
    void release();

}
